<?php
    include('session.inc');
    require_once('funct.inc');
    if(!GetAdminID($ID)){echo"Nie ste korektne prihl�sen� a nemate administra�n� pr�va.";exit;}
    if(!Right_Check(1)){header('Location:error.php');exit;}
    include 'color_style.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>

<title>Admin</title>
<?php echo '<meta http-equiv="Content-Type" content="text/html; charset='._CHARSET_.';">'; ?>
<style>
<!--
body
{
        margin-left:0pt;
        margin-right:0pt;
        margin-top:0pt;
        margin-bottom:0pt;
	height: 1200px;
}

table
{

    margin-left:0pt;
        margin-right:0pt;
        margin-top:0pt;
        margin-bottom:0pt;

    border-bottom-color: red;
    border-top-color: red;
    border-left-color: red;
    border-right-color: red;
    border-collapse: collapse;
}

iframe
{
        margin-left:0pt;
        margin-right:0pt;
        margin-top:0pt;
        margin-bottom:0pt;
}

form
{
        margin-top:0px;
        margin-bottom:0px
}

img {margin-top:0pt; margin-bottom:0px;}

a {text-decoration: none; font-weight: normal; color:black; font-size:12px;}
a:hover {text-decoration: none; font-weight: bold; color:blue; font-size:12px;}

-->
</style>

</head>

<?php
print "<body bgcolor=\"".Background_Color."\">";
  print"<iframe src=\"adm_menu.php\" name=\"menu\" scrolling=\"Auto\"
         width=\"158px\" height=\"100%\" marginwidth=\"0\" marginheight=\"0\"
         frameborder=\"No\" border=\"0\"
         style=\"position:absolute;left:0px;top:0px;\"
         ></iframe> ";

  print"<iframe src=\"adm_contents.php\" name=\"contents\" valign=\"top\" scrolling=\"Auto\"
         width=\"830px\" height=\"1370px\" marginwidth=\"0\" marginheight=\"0\"
         frameborder=\"No\" border=\"0\"
         style=\"position:absolute;left:160px;top:0px;\"
         ></iframe>";


?>
</body>
</html>
